<div class="main-content" id="app">
    <editor-component
        editor-title="编辑落地页"
        :initial-content="htmlContent"
        :subdomain="subdomain"
    ></editor-component>
</div>
<script src="js/lib/vue.global.js"></script>
<script src="js/lib/axios.min.js"></script>
<script src="js/editor-component.vue"></script>
<script>
    const { createApp } = Vue;
    createApp({
        data() {
            return {
                subdomain: '<?php echo htmlspecialchars($subdomain); ?>',
                htmlContent: '<?php echo htmlspecialchars($html_content); ?>'
            };
        }
    }).mount('#app');
</script>